<script>
import son from './son.vue'

export default {
    data() {
        return {
            data2: {
                name: "emily"
            },
            data4: [1, 2, 3, 4, 5]
        }
    },
    components: {
        son
    }
}
</script>

<template>
    <div>父 vue 组件</div>
    <son data1="string" :data2="data2" data3="hello world!" :data4="data4" test="test" />
</template>

<style scoped></style>